package wang.hongyun.pojo;

import java.util.Date;

public class Jbpm_processinstance {
    private Long id;

    private Integer version;

    private String key;

    private Date start;

    private Date end;

    private Boolean issuspended;

    private Long processdefinition;

    private Long roottoken;

    private Long superprocesstoken;

    private Date createtime;

    private Date updatetime;

    public Jbpm_processinstance(Long id, Integer version, String key, Date start, Date end, Boolean issuspended, Long processdefinition, Long roottoken, Long superprocesstoken, Date createtime, Date updatetime) {
        this.id = id;
        this.version = version;
        this.key = key;
        this.start = start;
        this.end = end;
        this.issuspended = issuspended;
        this.processdefinition = processdefinition;
        this.roottoken = roottoken;
        this.superprocesstoken = superprocesstoken;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public Jbpm_processinstance() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public Boolean getIssuspended() {
        return issuspended;
    }

    public void setIssuspended(Boolean issuspended) {
        this.issuspended = issuspended;
    }

    public Long getProcessdefinition() {
        return processdefinition;
    }

    public void setProcessdefinition(Long processdefinition) {
        this.processdefinition = processdefinition;
    }

    public Long getRoottoken() {
        return roottoken;
    }

    public void setRoottoken(Long roottoken) {
        this.roottoken = roottoken;
    }

    public Long getSuperprocesstoken() {
        return superprocesstoken;
    }

    public void setSuperprocesstoken(Long superprocesstoken) {
        this.superprocesstoken = superprocesstoken;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}